package com.bkgy.controller.allprocessRcl1870.controller;

import com.bkgy.controller.allprocessRcl1870.dto.AllProcessTbYieldRcl870Requst;
import com.bkgy.controller.allprocessRcl1870.service.AllProcessRcl1870ExportService;
import com.bkgy.controller.allprocessRcl1870.service.AllProcessRcl1870Service;
import com.bkgy.sys.common.entity.ResultData;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

@Tag(name = "重卷1870明细表")
@RestController
@RequestMapping("/allprocess")

public class TbYieldRcl1870ExportController {
    @Autowired
    private AllProcessRcl1870ExportService allProcessRcl1870ExportService;

    @Operation(summary = "RCL1870明细表导出", description = "RCL1870明细表导出")
    @PostMapping("/rcl1870detaisexport")
    public void rcl1870detaisexport(@RequestBody @Valid AllProcessTbYieldRcl870Requst request)
    {
        allProcessRcl1870ExportService.export1870(request);
    }
}